﻿#region

using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using NLog.Extensions.Logging;
using NLog.Web;

#endregion

namespace Vin.Extension.NLog;

public class ExtensionEntry : IVinExtension
{

    public void AddVinExtension(WebApplicationBuilder builder)
    {
        // builder.Logging.ClearProviders();
        builder.Host.UseNLog();
    }

    public void AddVinExtension(IServiceCollection services)
    {
    }

    public void UseVinExtension(WebApplication app)
    {
    }
}